.Net Framework > v1.1.4322 > Microsoft > VisualBasic > FileSystem > Lock Lock(Int32)
Lock(Int32,Int64)
Lock(Int32,Int64,Int64)


Lock(Int32)

Category
Method
Description
Any valid file number. Denies access by other processes to all of a file opened using the Open function.
Type
void
Character
public, static
Parameters
NameTypeDescription
FileNumberInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Lock(Int32,Int64)

Category
Method
Description
Any valid file number. Number of the record to lock. Denies access by other processes to a part of a file opened using the Open function.
Type
void
Character
public, static
Parameters
NameTypeDescription
FileNumberInt32
RecordInt64
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Lock(Int32,Int64,Int64)

Category
Method
Description
Any valid file number. Number of the first record or byte to lock. Number of the last record or byte to lock. Denies access by other processes to a part of a file opened using the Open function.
Type
void
Character
public, static
Parameters
NameTypeDescription
FileNumberInt32
FromRecordInt64
ToRecordInt64
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database